import { IdName } from "./idName";
import { VulnPackageVersion } from "./vulnPackageVersion";
import { VulnerabilityAssetPackages } from "./vulnerabilityAssetPackages";

export interface VulnerabilityAsset {
  name: string;
  severity: string;
  description: string;
  packages?: VulnerabilityAssetPackages;
  package_name: string;
  link: string;
  score: number;
  vectors: string;
  score_v3: number;
  vectors_v3: string;
  published_timestamp: number;
  last_modified_timestamp: number;
  package_versions: VulnPackageVersion[];
  workloads: IdName[];
  nodes: IdName[];
  images: IdName[];
  platforms: IdName[];
}
